Solve ambiguous case of the sine rule (#490)