Theresa May confirmed she will attempt to form a government with the Democratic Unionist Party after failing to win a majority in the June 8 U.K. general election.