Federal government appeals against law critics say disproportionately affects hijab-wearing Muslim women