President Donald Trump said Wednesday that he would consider allowing Israeli Prime Minister Benjamin Netanyahu to resume military action in Gaza if Hamas refuses to uphold its end of the ceasefire deal.