Republicans have pushed an effort barring first federal transgender lawmaker from women's restrooms in the US Capitol.