Learning Extrinsic Dexterity with Parameterized Manipulation Primitives