[test][get_turns] Add failing test cases for L/L
[overlay] Calculate ratio for segment intersection where one segment is degenerate