Decompose rational function with irreducible quadratic factors (#566)