Spin–singlet competition responsible for magnetization plateau associated with magnetocaloric effect in a tetrameric chain