Burma agrees to prisoner amnesty