Joe Biden’s communications director announces resignation