If Stormont is not restored by October 21, same-sex marriage and abortion are set to become legal in Northern Ireland.