Both Democratic and Republican lawmakers in the US have criticized the Trump administration's plans to cancel a troop deployment to Poland.