Nearly 40 years after it was released, Procol Harum’s organist sought to get his proper credit in writing the song. The judge agreed