District 6 representative was only Maryland Democrat to approve measure for immigrant detention headed for Trump's signature.