Carl Starfelt put through his own net in the second half of extra-time, as Rangers held on to progress to the final.