fixed some redundant statements and simplified
fixed some redundant statements and simplified

smharper/openmc,smharper/openmc,smharper/openmc,paulromano/openmc,walshjon/openmc,samuelshaner/openmc,nhorelik/openmc,wbinventor/openmc,mit-crpg/openmc,mjlong/openmc,walshjon/openmc,shenqicang/openmc,nhorelik/openmc,wbinventor/openmc,samuelshaner/openmc,walshjon/openmc,sxds/opemmc,smharper/openmc,shenqicang/openmc,liangjg/openmc,wbinventor/openmc,liangjg/openmc,johnnyliu27/openmc,sxds/opemmc,mit-crpg/openmc,amandalund/openmc,paulromano/openmc,amandalund/openmc,kellyrowland/openmc,liangjg/openmc,johnnyliu27/openmc,mit-crpg/openmc,samuelshaner/openmc,lilulu/openmc,lilulu/openmc,samuelshaner/openmc,amandalund/openmc,shikhar413/openmc,johnnyliu27/openmc,amandalund/openmc,mit-crpg/openmc,paulromano/openmc,shikhar413/openmc,lilulu/openmc,bhermanmit/openmc,wbinventor/openmc,bhermanmit/openmc,liangjg/openmc,walshjon/openmc,shikhar413/openmc,johnnyliu27/openmc,paulromano/openmc,bhermanmit/cdash,shikhar413/openmc,mjlong/openmc,kellyrowland/openmc