The measure was proposed by Austria’s three-party governing coalition, which said the ban was intended to protect girls’ freedom