Hamas agrees to Egypt-proposed reconciliation bid