Prince Andrew will face civil sex case trial, judge rules