I think there's a Maya command: delete unused nodes to delete unused materials, not sure if that's what you're looking for. I'm not familiar with "shader bins".