The Defense Department said it is diverting $3.83 billion from elsewhere in its budget to build ­177 more miles of President Trump’s border barrier, setting in motion a broader White House plan to take some $7.2 billion from the Pentagon budget this year for the project without congressional approval as Trump heads into the election.