PA court ends mandatory life for 2nd-degree murder