KB Home paid $57.8 million for a 276,000-square-foot building it wants to replace with 190 homes in San Ramon’s Bishop Ranch.