Deprojecting beam systematics for next-generation CMB B-mode searches