The Scottish government has hailed a “historic day for equality” after MSPs approved plans to make it easier and less intrusive for individuals to legally change their gender, extending the new system of self-identification to 16- and 17-year-olds for the first time.