SLAP: Shortcut Learning for Abstract Planning