This midcap building materials stock has rallied in recent years—and that may be why this fund just dumped its entire stake.