Supreme Court limits judges’ discretion on minimum sentences