Topology and magnetism in the Kondo insulator phase diagram