Pentagon's transgender policy for military service to take effect, nearly two years after Trump tweeted about the ban.