Do not remove packages that are delivered by an Oracle publisher. Adding and Updating Software in Oracle Solaris 11.2 shows methods for installing only the packages you want and avoiding installing packages that you do not want.
You can use the pkgrepo remove command to remove packages that were not delivered by an Oracle publisher. You can use the pkgrepo remove-publisher command to remove a publisher and all of the packages delivered by that publisher. See the pkgrepo(1) man page for details. These operations should be performed on a copy of the repository, as described in How to Update a Local IPS Package Repository.