SERVER-15535 In SyncTail::oplogApplication, do not look in ops container when it is empty.

This fixes a shutdown-time segfault, caused when the applier thread exits the
inner loop due to inShutdown, rather than because it has operations to apply.