SINN Féin, the Social Democrats and the Labour Party all supported legislation that would have allowed stillborn babies to be classified as 'non-binary'.