A Senate panel has confirmed the nomination of President Donald Trump's pick to lead the Federal Emergency Management Agency.