Axel Rudakubana did not get a whole-life sentence because international law has prevented it, a Cabinet minister has suggested.