Former union leader and Democratic operative becomes third Black senator in US history after death of the longtime California legislator