SAN FRANCISCO (Reuters) - Zenefits is laying off nearly half its staff as the software startup grapples with the fallout of insurance violations that resulted in hefty penalties from state regulators.