Pentagon diverts $3.6bn in funds for southern border wall