Correct phase/end_phase for partially-coding exons