Niners put Sherman on IR with leg injury, veteran CB to miss at least 3 games