Fix a breakage introduced by r553237: Use polisirreducible() instead of isirreducible()
Obtained from: upstream (7bf4211)