In letter ahead of scheduled Palestinian elections, senior PA official said to inform US that Hamas also agreed to obey international law and accept a peaceful transfer of power