The Senate on Monday unanimously confirmed Jen Easterly to lead the Department of Homeland Security’s cybersecurity division, a role that will be key in the administration’s cybersecurity efforts.