Prince Andrew stripped of military titles, royal ties