Replace direct use of TF_PASSABLE with square_ispassable