Critics of Japan's immigration system say that Wishma Ratnayake was the victim of an opaque, capricious bureaucracy that has nearly unchecked power over those who run afoul of it.