Action Categorization for Computationally Improved Task Learning and Planning