code-style: prefer BOOST_ASSERT and static_assert

refs #2132

Change-Id: I203f22148fd52adcb611e8a219db18c0a8b9f2ef