Palestinian President says Hamas will have no role in governing postwar Gaza