Provide supplimental food for him. They like Algae (as you probably noticed when he likely cleaned your rocks of coraline algae), but will eat about anything. If he's eating your corals try and feed him more. Get some sinking wafers or something and see if he'll eat them.
That may solve your problem. Generally the long spine black urchins won't eat your coral unless they run out of algae and leftover food to feast on. Just like shrimp and crabs, if they're eating your coral or tankmates its often because they don't have enough food. Urchins eat ALOT, which is why why can be a problem in nano reefs. They quickly eat all the algae they can find and unless more is provided, they'll eat whatever else they can find, including your corals.
My advice: Try sinking wafers and see if he eats them, and stops eating the corals. IF he doesn't then you just have a urchin with a taste for flesh and you'll be stuck watching your corals be slowly consumed, or you'll have to trade the urchin in at your LFS.