Vivint Solar raises $313m five months after failed merger