Refactoring Policy for Compositional Generalizability using Self-Supervised Object Proposals