Expected confirmation would end seven months without Pentagon chief after Mattis resignation; Navy leader Richard Spencer takes over as acting defense chief