Government to consider legal status for religious same-sex partnerships