Transfer to the home state is not allowed in most scenarios. Whereas change in cadre under excessive difficulties is permitted. One option is delegation to some other cadre. In this case, an IAS officer may get deputed to his home cadre.