Prime Minister announces intention to introduce legislation to address historical injustices faced by LGBTQ2 communities