Nyla, Shirshu Sleuth's second ability has an "intervening 'if' clause." That means the ability won't trigger at all unless you control no Clues at the beginning of your end step, and the ability will do nothing if you control a Clue by the time it resolves.